package com.woniuxy.driverschool.service.impl;/* *
@author author
@create 2021-09-29 20:09
*/

import com.woniuxy.driverschool.entity.Role;
import com.woniuxy.driverschool.mapper.RoleMapper;
import com.woniuxy.driverschool.service.RoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class RoleServiceImpl implements RoleService {

    @Autowired
    RoleMapper roleMapper;

    @Override
    public Role getPeriodById(int roleId) {
        return roleMapper.selectRoleById(roleId);
    }
}
